﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AqueleAjax.UI.Controls
{
    public class AutoCompleteResultCommandEventArgs : AutoCompleteResultEventArgs
    {
        private string _commandName;

        public string CommandName
        {
            get { return this._commandName; }
            private set { this._commandName = value; }
        }

        private object _commandArgument;

        public object CommandArgument
        {
            get { return this._commandArgument; }
            private set { this._commandArgument = value; }
        }

        private string _selectedValue;

        public string SelectedValue
        {
            get { return this._selectedValue; }
            private set { this._selectedValue = value; }
        }

        public AutoCompleteResultCommandEventArgs(AutoCompleteResultItem item, string commandName, object commandArgument, string selectedValue)
            : base(item)
        {
            this.CommandName = commandName;
            this.CommandArgument = commandArgument;
            this.SelectedValue = selectedValue;
                    }
    }
}
